/**
 * Created by kroyo on 2017/8/17.
 */
@charset "utf-8";
@import "minxincommon";




.w-780{
    width: 780px;
}
.w-680{
    width: 680px;
}
.w-420{
    width:420px;
}
.w-380{
    width:380px;
}
.w-340{
    width:340px;
}
.w-344{
    width:344px;
}
.w-325{
    width: 325px;
}
.w-220{
    width:220px;
}
.w-210{
    width:210px;
}
.w-200{
    width:200px;
}
.w-180{
    width:180px;
}
.w-160{
    width:160px;
}
.w-130{
    width:130px;
}
.w-120{
    width:120px;
}
.w-100{
    width:100px;
}
.w-80{
    width:80px;
}
.w-60{
    width: 60px;
}
.h-36{
    height:36px;
}
.h-24{
    height:24px;
}


//自定义checkbox
.check-wrap {
    display: inline-block;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    font-size: 0;
    margin-right: 10px;
    input{
        display: none;
    }
    label{
        display: block;
        width: 100%;
        height: 100%;
    }
    //选择框
    .check {
        position: relative;
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 1px solid #999999;
        border-radius: 2px;
        color: #fff;
        margin-right: 5px;
        cursor: pointer;
        vertical-align: -3px;
        overflow: hidden;
        &:after{
            position: absolute;
            top: 0;
            left: 0;
            content: " ";
            display: none;
            width: 100%;
            height: 100%;
            background: url(../../img/user/check.png) no-repeat 50% 50%;
        }
    }
    //描述文字
    .check-text {
        cursor: pointer;
        font-size: 14px;
    }
    &:hover{
        .check {
            border-color: $color-active;
        }
        .check-text{
            color: $color-active;
        }
    }
    &.checked{
        .check {
            border:none;
            background-color: $color-active;
            &:after {
                display: inline-block;
            }
        }
    }
}



//按钮
.btn-de{
    width:100px;
    height: 36px;
    line-height: 36px;
    color: #fff;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background-color: $color-active;
    cursor: pointer;
    @include transition;
    &:hover{
        background-color: $hovercolor;
    }
}


table,tr,td,.dborder{
    border:1px solid #ccc;
}
table{
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

//标题行
.firstrow{
    font-weight:bold;
}
//表头
.first-line{
    background:$bgtr;
    height:40px;
    line-height: 40px;
    text-align: center;
    color: #333333;
    font-size: 14px;
}

.datalist{
    height:40px;
}
//没有数据的时候显示视图
.nodatalist{
    text-align: center;
    height:60px;
}


.arrow{
    display: none;
    position: absolute;
    right: -12px;
    top: 32%;
    content: " ";
    height: 22px;
    width: 22px;
    pointer-events: none;
    background-color: #fff;
    border-right:1px solid #1e87f2;
    border-top:1px solid #1e87f2;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.user-center{
    width:100%;
    min-height: 600px;
    background:#eeeeee;
    padding: 20px 0;
}

//左侧
.user-option{
    width:180px;
    .user-info{
        width:100%;
        min-height:190px;
        background: #fff;
        padding-top:20px;
        padding-bottom: 15px;
        margin-bottom: 20px;
        word-wrap:break-word;
        word-break:break-all;
        .user-pro,.user-name,.user-type{
            margin: 0 auto;
        }
        .user-pro{
            width:100px;
            height:100px;
            border:1px solid #ccc;
            text-align: center;
            a{
                display: block;
                width: 100%;
                height: 100%;
            }
            img{
                width:100%;
                height:100%;
                vertical-align: middle;
            }
        }
        .user-name{
            width:80px;
            line-height: 20px;
            font-size:14px;
            margin-top:8px;
            margin-bottom: 8px;
            a{
                color: #666666;
            }
            img{
                width:12px;
                height:14px;
                margin-left: 8px;
                vertical-align: -2px;
            }
        }
        .user-type{
            width:54px;
            height:22px;
            line-height: 22px;
            font-size:12px;
            color: #fff;
            background: #1E87F2;
            -webkit-border-radius: 2px;
            -moz-border-radius: 2px;
            border-radius: 2px;
            text-align: center;
        }
    }
    .select{
        .selectli{
            position: relative;
            width:100%;
            height:60px;
            line-height: 60px;
            margin-bottom:1px;
            background: #fff;
            text-align: center;
            cursor: pointer;
            border:1px solid #fff;
            -webkit-transition: all .4s;
            -moz-transition: all .4s;
            -ms-transition: all .4s;
            -o-transition: all .4s;
            transition: all .4s;
            a{
                display: block;
                width:100%;
                height:100%;
            }
            .imgbg{
                display: inline-block;
                width:14px;
                height:16px;
                margin-right: 8px;
                vertical-align: -3px;
                -webkit-transition: all .4s;
                -moz-transition: all .4s;
                -ms-transition: all .4s;
                -o-transition: all .4s;
                transition: all .4s;
            }
            span{
                font-size: 16px;
                color: $fontcolor;
                -webkit-transition: all .4s;
                -moz-transition: all .4s;
                -ms-transition: all .4s;
                -o-transition: all .4s;
                transition: all .4s;
            }
            &:hover,&.active{
                border-color:#1e87f2;
                span{
                    color: $color-active;
                }
                .arrow{
                    display: block;
                }
            }
        }
        .select-info{
            .imgbg{
                background: url(../../img/user/infor.png) no-repeat center center;
            }
            &:hover,&.active{
                .imgbg{
                    background-image: url(../../img/user/infor-active.png);
                }
            }
        }
        .select-message{
            .imgbg{
                background: url(../../img/user/message.png) no-repeat center center;
            }
            &:hover,&.active{
                .imgbg{
                    background: url(../../img/user/message-active.png);
                }
            }
        }
        .select-demand{
            .imgbg{
                background: url(../../img/user/demand.png) no-repeat center center;
            }
            &:hover,&.active{
                .imgbg{
                    background: url(../../img/user/demand-active.png);
                }
            }
        }
        .select-collect{
            .imgbg{
                background: url(../../img/user/collect.png) no-repeat center center;
            }
            &:hover,&.active{
                .imgbg{
                    background: url(../../img/user/collect-active.png);
                }
            }
        }
        .select-order{
            .imgbg{
                background: url(../../img/user/order.png) no-repeat center center;
            }
            &:hover,&.active{
                .imgbg{
                    background: url(../../img/user/order-active.png);
                }
            }
        }
        .select-works{
            .imgbg{
                background: url(../../img/user/works.png) no-repeat center center;
            }
            &:hover,&.active{
                .imgbg{
                    background: url(../../img/user/works-active.png);
                }
            }
        }
        .select-news{
            .imgbg{
                background: url(../../img/user/news.png) no-repeat center center;
            }
            &:hover,&.active{
                .imgbg{
                    background: url(../../img/user/news-active.png);
                }
            }
        }
    }
}

//右侧
.user-content{
    width:1000px;
    .info-title{
        width:100%;
        height: 70px;
        line-height: 70px;
        font-size: 18px;
        color: #333333;
        font-weight:700;
        padding-left: 50px;
        border-bottom:1px solid #cccccc;
        background: #fff;
    }
}


.btn-pdemand{
    width:120px;
    height:40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    margin-top:15px;
    margin-right:50px;
    background-color:$color-active;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}


//文字居中
.text-center{
    text-align: center;
}


//自定义下拉列表
.selectdown{
    display: none;
    position: absolute;
    top: 40px;
    left: 77px;
    width: 200px;
    max-height: 200px;
    background: #fff;
    @include borradius;
    -webkit-box-shadow: 0px 5px 20px rgba(0,0,0,.3);
    -moz-box-shadow: 0px 5px 20px rgba(0,0,0,.3);
    box-shadow: 0px 5px 20px rgba(0,0,0,.3);
    overflow: hidden;
    z-index:19;
    li{
        width:100%;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
        padding-left: 10px;
        color: #666;
        cursor: pointer;
    }
    li:hover{
        background-color: #daecff;
    }
    li.active{
        color: #fff;
        background-color: $color-active;
    }
}




//pagnation-page   分页列表
.pagnation-page{
    height: 100px;
    line-height: 100px;
    background: #fff;
    font-size: 0;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid #ccc;
    .pagnation-wrapper{
        display: inline-block;
        vertical-align: middle;
    }
    .pagination{
        margin: 0;
        font-size: 14px;
        vertical-align: middle;
        line-height: normal;
    }
}







//时间选择框
.jeinput{
    position: relative;
    z-index: 1;
    cursor: pointer;
}
